<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Generate a globally unique identifier (GUID)</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.com-addref.html">com_addref</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.com-event-sink.html">com_event_sink</a></div>
 <div class="up"><a href="ref.com.html">COM 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.com-create-guid" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">com_create_guid</h1>
  <p class="verinfo">(PHP 5)</p><p class="refpurpose"><span class="refname">com_create_guid</span> &mdash; <span class="dc-title">Generate a globally unique identifier (GUID)</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.com-create-guid-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">string</span> <span class="methodname"><strong>com_create_guid</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   Generates a Globally Unique Identifier (GUID).
  </p>
  <p class="para">
   A GUID is generated in the same way as DCE UUID&#039;s, except that the
   Microsoft convention is to enclose a GUID in curly braces.
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.com-create-guid-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the GUID as a string.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.com-create-guid-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><strong>uuid_create()</strong></span> in the PECL uuid extension</li>
   </ul>
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.com-addref.html">com_addref</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.com-event-sink.html">com_event_sink</a></div>
 <div class="up"><a href="ref.com.html">COM 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
